﻿@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_LayoutEdit.cshtml";
}
@section scripts
{
}
<div id="master">
    <table class="form">
        <tr>
            <td class="lbl">
                Premises
            </td>
            <td class="val">
                <input type="text"  data-bind="value:form.Premises,enable:isEnabled('Premises')" />
            </td>
            <td class="lbl">
                Premises Shortname
            </td>
            <td class="val">
                <input type="text" data-bind="value:form.Premises_Shortname,enable:isEnabled('Premises_Shortname')" />
            </td>
            <td class="lbl">
                Floor
            </td>
            <td class="val">
                <input type="text" data-bind="value:form.Floor,enable:isEnabled('Floor')" />
            </td>
        </tr>
        <tr>
            <td class="lbl">
                Unit
            </td>
            <td class="val">
                <input type="text" data-bind="value:form.Unit,enable:isEnabled('Unit')" />
            </td>
            <td class="lbl">
                Gross Area
            </td>
            <td class="val">
                <input type="text" id="grossArea" data-options="min:0" class="easyui-numberspinner" data-bind="numberspinnerValue:form.Gross_Area" />
            </td>
            <td class="lbl">
                Net Area
            </td>
            <td class="val">
                <input type="text" data-options="min:0" class="easyui-numberspinner" data-bind="numberspinnerValue:form.Net_Area" />
            </td>
        </tr>
        <tr>
            <td class="lbl">
                Lettable Area
            </td>
            <td class="val">
                <input type="text" data-options="min:0" class="easyui-numberspinner" data-bind="numberspinnerValue:form.Lettable_Area" />
            </td>
            <td class="lbl">
                Rentable Area
            </td>
            <td class="val">
                <input type="text" data-options="min:0" class="easyui-numberspinner" data-bind="numberspinnerValue:form.Rentable_Area" />
            </td>
            <td class="lbl">
            </td>
            <td class="val">
            </td>
        </tr>
    </table>
</div>
